package com.storyroad.responseClasses;

/**
 * Fields of this class are used to store notification information. Instances of this class are sent to the front-end to be
 * used when listing the notifications of a user. Accumulating all the data in an object facilitates transfer of data as well
 * as receiving and processing it. 
 */
public class NotificationObject {

	private String message;
	private int contentId;
	private String username;
	private boolean isStory;

	public NotificationObject(String message, int contentId, boolean isStory) {
		this.message = message;
		this.contentId = contentId;
		this.isStory = isStory;
	}

	public NotificationObject(String message, String username, boolean isStory) {
		this.message = message;
		this.username = username;
		this.isStory = isStory;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getContentId() {
		return contentId;
	}

	public void setContentId(int contentId) {
		this.contentId = contentId;
	}

	public boolean isStory() {
		return isStory;
	}

	public void setStory(boolean isStory) {
		this.isStory = isStory;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
